package com.remon.quartz.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 数据触发器
 *
 * @author remon
 * @create 2018-09-09 12:16
 **/
@Entity
@Table(name = "QRTZ_BLOB_TRIGGERS")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class QrtzBlobTriggers {

    /**
     * 设计器名称
     */
    @Id
    @Column(name = "SCHED_NAME")
    private String schedName;
    /**
     * 触发器名称
     */
    @Column(name = "TRIGGER_NAME")
    private String triggerName;
    /**
     * 触发器组别
     */
    @Column(name = "TRIGGER_GROUP")
    private String triggerGroup;
    /**
     * 数据
     */
    @Column(name = "BLOB_DATA")
    private byte[] blobData;
}
